package com.ruoyi.develop.factory.factoryProduceSale.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 生产订单和产品关联对象 factory_produce_sale
 *
 * @author lmm
 * @date 2025-05-08
 */
public class FactoryProduceSale extends BaseEntity {
private static final long serialVersionUID=1L;

    /** 主键 */
    private String id;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 删除标志 */
    private String delFlag;

    /** 生产订单id */
    @Excel(name = "生产订单id")
    private String produceId;

    /** 订单产品id */
    @Excel(name = "订单产品id")
    private String saleId;

    /** 采购订单id */
    @Excel(name = "采购订单id")
    private String caigouId;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal count;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String code;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String name;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String xinghao;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String miaoshu;

    /** 合并主Id */
    @Excel(name = "合并主Id")
    private String parentId;
    private String goodsId;

    private String projectId;
    private String projectNo;
    private String qinggouId;
    private String nos;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date saleDate;
    private String gongchengName;
    private String customName;
    private String produceNo;

    public String getProduceNo() {
        return produceNo;
    }

    public void setProduceNo(String produceNo) {
        this.produceNo = produceNo;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getProjectNo() {
        return projectNo;
    }

    public void setProjectNo(String projectNo) {
        this.projectNo = projectNo;
    }

    public String getQinggouId() {
        return qinggouId;
    }

    public void setQinggouId(String qinggouId) {
        this.qinggouId = qinggouId;
    }

    public String getNos() {
        return nos;
    }

    public void setNos(String nos) {
        this.nos = nos;
    }

    public Date getSaleDate() {
        return saleDate;
    }

    public void setSaleDate(Date saleDate) {
        this.saleDate = saleDate;
    }

    public String getGongchengName() {
        return gongchengName;
    }

    public void setGongchengName(String gongchengName) {
        this.gongchengName = gongchengName;
    }

    public String getCustomName() {
        return customName;
    }

    public void setCustomName(String customName) {
        this.customName = customName;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setStatus(String status)
            {
            this.status = status;
            }

    public String getStatus()
            {
            return status;
            }
    public void setDelFlag(String delFlag)
            {
            this.delFlag = delFlag;
            }

    public String getDelFlag()
            {
            return delFlag;
            }
    public void setProduceId(String produceId)
            {
            this.produceId = produceId;
            }

    public String getProduceId()
            {
            return produceId;
            }
    public void setSaleId(String saleId)
            {
            this.saleId = saleId;
            }

    public String getSaleId()
            {
            return saleId;
            }
    public void setCaigouId(String caigouId)
            {
            this.caigouId = caigouId;
            }

    public String getCaigouId()
            {
            return caigouId;
            }
    public void setCount(BigDecimal count)
            {
            this.count = count;
            }

    public BigDecimal getCount()
            {
            return count;
            }
    public void setCode(String code)
            {
            this.code = code;
            }

    public String getCode()
            {
            return code;
            }
    public void setName(String name)
            {
            this.name = name;
            }

    public String getName()
            {
            return name;
            }
    public void setXinghao(String xinghao)
            {
            this.xinghao = xinghao;
            }

    public String getXinghao()
            {
            return xinghao;
            }
    public void setMiaoshu(String miaoshu)
            {
            this.miaoshu = miaoshu;
            }

    public String getMiaoshu()
            {
            return miaoshu;
            }
    public void setParentId(String parentId)
            {
            this.parentId = parentId;
            }

    public String getParentId()
            {
            return parentId;
            }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id",getId())
            .append("status",getStatus())
            .append("remark",getRemark())
            .append("createBy",getCreateBy())
            .append("createTime",getCreateTime())
            .append("updateBy",getUpdateBy())
            .append("updateTime",getUpdateTime())
            .append("delFlag",getDelFlag())
            .append("produceId",getProduceId())
            .append("saleId",getSaleId())
            .append("caigouId",getCaigouId())
            .append("count",getCount())
            .append("code",getCode())
            .append("name",getName())
            .append("xinghao",getXinghao())
            .append("miaoshu",getMiaoshu())
            .append("parentId",getParentId())
        .toString();
    }
}
